package cn.micro.keep.accounts.entity.dto;



import cn.micro.keep.accounts.util.ValidateGroup;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class AccountDimShareGroupDTO {
    @NotNull(message = "组别ID不能为空",groups = ValidateGroup.edit.class)
    private Long id;

    /**
     * 分享组名称
     */
    @NotEmpty(message = "组别ID不能为空",groups = ValidateGroup.add.class)
    private String name;

    /**
     * 分享组描述
     */
    private String descInfo;
}
